package com.squeekeek.util.japandict;

import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;

public class Main {
	private static void initUI() {
		JFrame winframe;
		JComponent mainpanel;
		
		winframe = new JFrame("Japanese Dictionary");
		mainpanel = new DictSearchPanel();
		
		mainpanel.setOpaque(true);
		winframe.setContentPane(mainpanel);
		
		winframe.pack();
		winframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		winframe.setLocationRelativeTo(null);
		winframe.setSize(480, 135);
		winframe.setResizable(false);
		
		winframe.setVisible(true);
	}
	
	public static void main(String args[]) {
		SwingUtilities.invokeLater(new Runnable() {
			@Override
			public void run() {
				initUI();
			}
		});
	}
}
